home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / gui / gadtoolsbox20c.lha / GadToolsBox / GTXLib / C_includes / gadtoolsbox / hotkey.h < prev    next >
C/C++ Source or Header  |  1993-04-12  |  1KB  |  47 lines

  1. #ifndef GADTOOLSBOX_HOTKEY_H
  2. #define GADTOOLSBOX_HOTKEY_H
  3. /*
  4. **      $VER: gadtoolsbox/hotkey.h 39.1 (12.4.93)
  5. **      GTXLib headers release 2.0.
  6. **
  7. **      Definitions for the hotkey system.
  8. **
  9. **      (C) Copyright 1992,1993 Jaba Development.
  10. **          Written by Jan van den Baard
  11. **/
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifndef LIBRARIES_GADTOOLS_H
  18. #include <libraries/gadtools.h>
  19. #endif
  20.  
  21. /* A _very_ important handle */
  22. typedef ULONG               HOTKEYHANDLE;
  23.  
  24. /* Flags for the HKH_SetRepeat tag */
  25. #define SRB_MX              0
  26. #define SRF_MX              (1<<SRB_MX)
  27. #define SRB_CYCLE           1
  28. #define SRF_CYCLE           (1<<SRB_CYCLE)
  29. #define SRB_SLIDER          2
  30. #define SRF_SLIDER          (1<<SRB_SLIDER)
  31. #define SRB_SCROLLER        3
  32. #define SRF_SCROLLER        (1<<SRB_SCROLLER)
  33. #define SRB_LISTVIEW        4
  34. #define SRF_LISTVIEW        (1<<SRB_LISTVIEW)
  35. #define SRB_PALETTE         5
  36. #define SRF_PALETTE         (1<<SRB_PALETTE)
  37.  
  38. /* tags for the hotkey system */
  39. #define HKH_TagBase         (TAG_USER+256)
  40.  
  41. #define HKH_KeyMap          (HKH_TagBase+1)
  42. #define HKH_UseNewButton    (HKH_TagBase+2)
  43. #define HKH_NewText         (HKH_TagBase+3)
  44. #define HKH_SetRepeat       (HKH_TagBase+4)
  45.  
  46. #endif
  47.